<wxs src="../../utils/common.wxs" module="filter" />
<view class='topic-view'>
  <view>
  	<label bindtap='allSend' class="{{select==1?'select':''}}" data-code='1'>可使用</label>
  </view> 
  <view>
  	<label bindtap='allSend' class="{{select==2?'select':''}}" data-code='2'>已使用</label>
  </view>   
   <view>
  	<label bindtap='allSend' class="{{select==3?'select':''}}" data-code='3'>已过期</label>
  </view>   
</view>

<view style='width: 750rpx;height: 110rpx;'></view>
<view class='itemD' wx:for='{{showList}}' bindtap='chooseCoupon' data-item='{{item}}'>
            <image class='imageD' wx:if='{{select==1}}' src="../../image/coupon/coupon_bg.png" />
            <image class='imageD' wx:else src="../../image/coupon/coupon_beoverdue.png" />
            <view class='left'>
              <label class='one'><label>¥</label>{{filter.fitPrice1(item.reduceAmt)}}</label>
              <label class='two'>{{item.fullname}}</label>
            </view>
            <view class='right'>
              <view class='aa'>{{item.name}}</view>
              <view class='bb'>限自营门店使用</view>
              <view class='cc'>{{filter.flitTime1(item.startDate)}}-{{filter.flitTime1(item.endDate)}}</view>
              <image class='dd' wx:if='{{select==3}}' src="../../image/coupon/beoverdue.png" />
              <view class='ff' wx:if='{{select==1}}' bindtap='turnUse'>去使用</view>
              
            </view>
</view>


<!-- <product-list bindtoTop='toTop' bindsubmoney='submoney' bindsale='sale' bindedit='edit' binddelete='delete' wx:for="{{showList}}" wx:key="index" wx:for-item="item" item="{{item}}"></product-list> -->